package com.dc.ebond3.dao;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * TbGroup entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TbGroup implements java.io.Serializable {

	// Fields

	private Long id;
	private TbGroup tbGroup;
	private String groupname;
	private Long visible;
	private Date createdate;
	private String department;
	private Long leafage;
	private Set tbGroups = new HashSet(0);
	private Set tbAuthorizations = new HashSet(0);

	// Constructors

	/** default constructor */
	public TbGroup() {
	}

	/** minimal constructor */
	public TbGroup(String groupname, Date createdate) {
		this.groupname = groupname;
		this.createdate = createdate;
	}

	/** full constructor */
	public TbGroup(TbGroup tbGroup, String groupname, Long visible,
			Date createdate, String department, Long leafage, Set tbGroups,
			Set tbAuthorizations) {
		this.tbGroup = tbGroup;
		this.groupname = groupname;
		this.visible = visible;
		this.createdate = createdate;
		this.department = department;
		this.leafage = leafage;
		this.tbGroups = tbGroups;
		this.tbAuthorizations = tbAuthorizations;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public TbGroup getTbGroup() {
		return this.tbGroup;
	}

	public void setTbGroup(TbGroup tbGroup) {
		this.tbGroup = tbGroup;
	}

	public String getGroupname() {
		return this.groupname;
	}

	public void setGroupname(String groupname) {
		this.groupname = groupname;
	}

	public Long getVisible() {
		return this.visible;
	}

	public void setVisible(Long visible) {
		this.visible = visible;
	}

	public Date getCreatedate() {
		return this.createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public String getDepartment() {
		return this.department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public Long getLeafage() {
		return this.leafage;
	}

	public void setLeafage(Long leafage) {
		this.leafage = leafage;
	}

	public Set getTbGroups() {
		return this.tbGroups;
	}

	public void setTbGroups(Set tbGroups) {
		this.tbGroups = tbGroups;
	}

	public Set getTbAuthorizations() {
		return this.tbAuthorizations;
	}

	public void setTbAuthorizations(Set tbAuthorizations) {
		this.tbAuthorizations = tbAuthorizations;
	}

}